using System;
using System.Collections.Generic;
using System.Globalization;
using Avalonia.Data.Converters;

namespace AvaAI批量点评系统.Converters;

/// <summary>
/// 能力等级转换器，从KeyValuePair中提取等级信息
/// </summary>
public class AbilityGradeConverter : IValueConverter
{
    public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
    {
        // 这个转换器将在CommentPreviewViewModel中通过多重绑定来实现
        // 这里只是占位符
        return "A";
    }

    public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
    {
        throw new NotImplementedException();
    }
}
